package map;

import java.io.Serializable;

import tools.Coordinate;

public class Item implements Serializable {

	
	private static final long serialVersionUID = 9018132597876200166L;
	private Coordinate coord;
	private boolean inUse;
	private ItemType itemType;
	
	public Item( Coordinate coord, ItemType itemType) {
		this.coord = coord;
		this.itemType = itemType;
		this.inUse = false;
	}


	public Coordinate getCoord() {
		return coord;
	}

	public void setCoord(Coordinate coord) {
		this.coord = coord;
	}


	public ItemType getItemType() {
		return itemType;
	}


	public boolean isInUse() {
		return inUse;
	}


	public void setInUse(boolean inUse) {
		this.inUse = inUse;
	}
	
	
	
}
